﻿@model BlackBird.Models.BiJiaDanDM
@using BlackBird.ControllerHelpers
@using BlackBird.Models
@using BlackBird.Resources     

@{
    ViewBag.Title = "Shenhe";
}

@if (Model.Status != SupportTypeStatus.CaoGao 
    && Model.Status != SupportTypeStatus.GuiDang)
{
<div class="sectionheader">意见栏</div>   
<div  id = "bijiadan_newcomment">
    <div>
        <span class="leftcolumn"><strong>审核结果:</strong></span>
        <span class="rightcolumn">
            <span class="comment_operation">
                @Html.RadioButtonFor(model => model.CurrentPostComment.Operation, "Pass", new { Checked = "checked" })
                <label>@BiJiaDanHelper.GetShenHeResultDisplayName(ShenHeResult.Pass)</label>
            </span>
            <span class="comment_operation">
                @Html.RadioButtonFor(model => model.CurrentPostComment.Operation, "Fail")
                <label>@BiJiaDanHelper.GetShenHeResultDisplayName(ShenHeResult.Fail)</label>
            </span>
        </span>
    </div>      
    <div>
        <span class="leftcolumn"><strong>留言:</strong></span>
        <span class="rightcolumn">
        @Html.EditorFor(model => model.CurrentPostComment.Content)</span>
    </div> 
</div>
}
        
<div class="sectionheader">提交</div>         
<p>   
    <input type="submit" value=@BBStrings.Save name="Action" />  
    <input type="submit" value=@BBStrings.Cancel name="Action" />  
    <input type="submit" value=@BBStrings.Submit name="Action"/>
    <input type="submit" value=@BBStrings.Close name="Action"/>
</p> 